"""
产品价格VO类
"""
from typing import Optional
from pydantic import BaseModel

from config.model_base import BaseMinXinModel


class BgProductPriceModel(BaseMinXinModel):
    """产品价格模型"""
    product_id: Optional[int] = None
    random_price: Optional[int] = None
    image_url: Optional[str] = None


class BgProductPricePageModel(BgProductPriceModel):
    """产品价格分页查询模型"""
    page_num: int = 1
    page_size: int = 10
